home *** CD-ROM | disk | FTP | other *** search
/ Day Cry / Day Cry CD.bin / oh_towns / ugoku / src.lzh / MOVRLF / IMEERR.C < prev    next >
C/C++ Source or Header  |  1994-09-10  |  2KB  |  102 lines

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <winb.h>
  4. #include <te.h>
  5. #include <fntb.h>
  6. #include <gui.h>
  7.  
  8. extern int    errorId ;
  9. extern int    errorOKBtnId ;
  10. extern int    errorOKFunc() ;
  11. extern int    errorIconId ;
  12. extern int    errormessage[2] ;
  13.  
  14. #define ALIGN    4
  15. #define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
  16.  
  17. /*    MMI_init ùpâfü[â^    */
  18.  
  19. /*    âwâbâ_    */
  20.  
  21. MMIINIT    initDataIMEERR = { "MmiInit",   5, 0 } ;
  22.  
  23. /* errorId */
  24.  
  25. static MMIPACKET d001 = {    &errorId,
  26.                             NULL,
  27.                             &MJ_ALERTL40,
  28.                             OFFSET(ALERTL40),
  29.                             MS_NONE
  30.                         } ;
  31. static ALERTL40    d001d = {    MS_BTLEFTL40 | MS_EVMOVEL40 | MS_EVMOSONL40 | MS_EVKEYONL40,
  32.                              166, 161, 474, 320, 8, 4, 0,
  33.                             MS_PANELL40 | MS_UFRAMEL40 | MS_FRAMEL40,
  34.                             NULL,   0,   0,
  35.                                0,   0,   0,   0
  36.                         } ;
  37.  
  38. /* errorOKBtnId */
  39.  
  40. static MMIPACKET d002 = {    &errorOKBtnId,
  41.                             &errorId,
  42.                             &MJ_DBUTTONL40,
  43.                             OFFSET(DBUTTONL40),
  44.                             MS_NONE
  45.                         } ;
  46. static DBUTTONL40    d002d = {    MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40,
  47.                              284, 278, 357, 303,12, 4, 8,
  48.                             MS_PANELL40 | MS_FRAMEL40,
  49.                             errorOKFunc,
  50.                             0x8012
  51.                         } ;
  52.  
  53. /* errorIconId */
  54.  
  55. static MMIPACKET d003 = {    &errorIconId,
  56.                             &errorId,
  57.                             &MJ_ICONL40,
  58.                             OFFSET(ICONL40),
  59.                             MS_NONE
  60.                         } ;
  61. static ICONL40    d003d =     {    MS_BTLEFTL40 | MS_EVMOSOFFL40 | MS_EVKEYONL40 | MS_CENTERL40 | MS_DSPONLYL40,
  62.                              178, 171, 215, 206, 8, 4, 8,
  63.                             MS_PANELL40 | MS_DFRAMEL40 | MS_FRAMEL40,
  64.                             0,
  65.                             0x0000,  25
  66.                         } ;
  67.  
  68. /* errormessage[1] */
  69.  
  70. static MMIPACKET d004 = {    &errormessage[1],
  71.                             &errorId,
  72.                             &MJ_MSGL40,
  73.                             OFFSET(MSGL40),
  74.                             MS_NONE
  75.                         } ;
  76. static MSGL40    d004d =     {    MS_CENTERL40 | MS_DSPONLYL40,
  77.                              286, 280, 354, 302, 0,15, 8,
  78.                             MS_NONEL40,
  79.                             "èm  öF",
  80.                                1,  12,  12,
  81.                             MS_NONEL40,
  82.                                0,   0
  83.                         } ;
  84.  
  85. /* errormessage[0] */
  86.  
  87. static MMIPACKET d005 = {    &errormessage[0],
  88.                             &errorId,
  89.                             &MJ_MSGL40,
  90.                             0,
  91.                             MS_NONE
  92.                         } ;
  93. static MSGL40    d005d =     {    MS_CENTERL40 | MS_DSPONLYL40,
  94.                              170, 212, 470, 235, 0,15,10,
  95.                             MS_NONEL40,
  96.                             "âGâëü[é¬ö¡É╢é╡é▄é╡é╜í",
  97.                                2,  16,  16,
  98.                             MS_BOLDL40,
  99.                                0,   0
  100.                         } ;
  101.  
  102.